package ltu.m7011e.client;

import java.util.Collection;

import ltu.m7011e.shared.model.Link;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;


/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	String greetServer(String name) throws IllegalArgumentException;
	// Collection<LinkEntity> getNewestLinks();
	String postLink(Link newLink);
	Collection<Link> getNewestLinks();
	String sendLikeToServer(Integer linkId);
}
